package com.npf.imgserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
//启动入口标识
@SpringBootApplication
//自动装配
@EnableAutoConfiguration
//事物支持
@EnableTransactionManagement
//数据访问层扫描
@MapperScan("com.npf.imgserver.dao")
//缓存支持
@EnableCaching
public class Application {
	/**
	 * springboot 工程启动入口
	 * @param args
	 */
	public static void main(String[] args) {

		SpringApplication.run(Application.class, args);
	}
}
